package com.xlh.service.courseTest;

import com.xlh.param.courseTest.ExperimentRunJudgeParam;
import com.xlh.pojo.courseTest.ExperimentStatisticsStepPass;
import com.xlh.pojo.courseTest.example.ExperimentStatisticsStepPassExample;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sy
 */
@Service
public interface ExperimentStatisticsStepPassService {


    /**
     * 保存信息 按照ID查询 查到则更新 未查到 修改
     * @param record
     * @return
     */
    int save(ExperimentStatisticsStepPass record);

    /**
     * 查询步骤记录
     * @param example 查询条件
     * @return
     */
    List<ExperimentStatisticsStepPass> selectByExample(ExperimentStatisticsStepPassExample example);


    /**
     * 保存试验通过步骤
     * @param experimentRunJudgeParam
     */
    void saveStepPass(ExperimentRunJudgeParam experimentRunJudgeParam);
}
